﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SQLiteHelp;

namespace TenyGlobalSite
{
    public partial class aboutus : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                GetContent();
            }
        }

        private void GetContent()
        {
            AboutUs us = new AboutUs();
            AboutUsDAO dao = us.GetAboutUsByID();
            this.litContent.Text = dao.Content;
            this.MetaKeywords = dao.MetaKeywords;
            this.MetaDescription = dao.MetaDesc;
        }
    }
}